package com.chukun.multi.immutable;

/**
 * 彩信中心的信息
 */
public final class MMSCInfo {

    //设备ID
    private final String deviceID;
    //彩信中心的URL
    private final String url;

    //彩信中心允许的最大附件大小
    private final int maxAttachmentSizeInBytes;

    public MMSCInfo(String deviceID,String url,int maxAttachmentSizeInBytes){
        this.deviceID = deviceID;
        this.url = url;
        this.maxAttachmentSizeInBytes = maxAttachmentSizeInBytes;
    }

    public MMSCInfo(MMSCInfo prototype){
        this.deviceID = prototype.deviceID;
        this.url = prototype.url;
        this.maxAttachmentSizeInBytes = prototype.maxAttachmentSizeInBytes;
    }

    public String getDeviceID() {
        return deviceID;
    }

    public String getUrl() {
        return url;
    }

    public int getMaxAttachmentSizeInBytes() {
        return maxAttachmentSizeInBytes;
    }
}
